import request from "@/utils/request";

// 获取设备列表
export const getDeviceTree = (data) => {
  return request({
    url: "/api/equipment/EqpDevice/getDeviceTree",
    method: "POST",
    data,
  });
};

// 获取设备详情
export const getDeviceByIds = (data) => {
  return request({
    url: "api/equipment/EqpDevice/getDeviceByIds",
    method: "POST",
    data,
  });
};
